// app.js
App({
  //生命周期函数，小程序加载
  onLaunch() {
    this.globalData.userInfo = wx.getStorageSync('userInfo')
  },
  globalData: {
    userInfo: null,
    server: 'http://127.0.0.1:5000'
  }
})